package com.yhuk.oauth.server.web;

import com.yhuk.oauth.server.model.MyUserDetails;
import com.yhuk.oauth.server.model.User;
import com.yhuk.oauth.server.utils.JsonUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.oauth2.provider.token.TokenStore;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiaolang
 * @version 1.0.0
 */
@RestController
public class UserController {

    @PostMapping("/order/bar")
    public String bar() {
        return "test";
    }
}
